package com.heima.apis.behavior;

import com.heima.model.behavior.pojo.ApBehaviorEntry;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.PathVariable;

@Api(value = "行为实体对象")
public interface ApBehaviorControllerApi {

    /**
     * 查询行为实体
     * @param userId
     * @param equipmentId
     * @return
     */
     ApBehaviorEntry findByUserIdOrEquipmentId(Integer userId, Integer equipmentId);


    /**
     * 根据用户id查询实体对象
     * @param userId
     * @return
     */
    ApBehaviorEntry findByUserId(@PathVariable("userId") Integer userId);
}